package com.zhangkunhao.notes.entity.DO;


import java.util.Date;

/**
 * 用户
 *
 * @author 张坤浩
 */
public class User {
    private Integer id;
    private String userName;
    private String password;
    private String gender;
    private Integer height;
    private Date birthday;
    private Integer payVirtue;
    private Integer gainVirtue;
    /**
     * 总功德量
     */
    private Integer initVirtue;

    public User() {
    }

    public User(Integer id, String userName, String password, String gender, Integer height, Date birthday, Integer payVirtue, Integer gainVirtue, Integer initVirtue) {
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.gender = gender;
        this.height = height;
        this.birthday = birthday;
        this.payVirtue = payVirtue;
        this.gainVirtue = gainVirtue;
        this.initVirtue = initVirtue;
    }

    /**
     * 获取
     *
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     *
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     *
     * @return userName
     */
    public String getUserName() {
        return userName;
    }

    /**
     * 设置
     *
     * @param userName
     */
    public void setUserName(String userName) {
        this.userName = userName;
    }

    /**
     * 获取
     *
     * @return password
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置
     *
     * @param password
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * 获取
     *
     * @return gender
     */
    public String getGender() {
        return gender;
    }

    /**
     * 设置
     *
     * @param gender
     */
    public void setGender(String gender) {
        this.gender = gender;
    }

    /**
     * 获取
     *
     * @return height
     */
    public Integer getHeight() {
        return height;
    }

    /**
     * 设置
     *
     * @param height
     */
    public void setHeight(Integer height) {
        this.height = height;
    }

    /**
     * 获取
     *
     * @return birthday
     */
    public Date getBirthday() {
        return birthday;
    }

    /**
     * 设置
     *
     * @param birthday
     */
    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    /**
     * 获取
     *
     * @return payVirtue
     */
    public Integer getPayVirtue() {
        return payVirtue;
    }

    /**
     * 设置
     *
     * @param payVirtue
     */
    public void setPayVirtue(Integer payVirtue) {
        this.payVirtue = payVirtue;
    }

    /**
     * 获取
     *
     * @return gainVirtue
     */
    public Integer getGainVirtue() {
        return gainVirtue;
    }

    /**
     * 设置
     *
     * @param gainVirtue
     */
    public void setGainVirtue(Integer gainVirtue) {
        this.gainVirtue = gainVirtue;
    }

    /**
     * 获取
     *
     * @return initVirtue
     */
    public Integer getInitVirtue() {
        return initVirtue;
    }

    /**
     * 设置
     *
     * @param initVirtue
     */
    public void setInitVirtue(Integer initVirtue) {
        this.initVirtue = initVirtue;
    }

    @Override
    public String toString() {
        return "User{id = " + id + ", userName = " + userName + ", password = " + password + ", gender = " + gender + ", height = " + height + ", birthday = " + birthday + ", payVirtue = " + payVirtue + ", gainVirtue = " + gainVirtue + ", initVirtue = " + initVirtue + "}";
    }
}
